package com.jsyl.entity.authority;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 * 
 * @author
 *
 */
@Entity(table = "available_visual_projects")
public class AvailableVisualProjects extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 2197491254490089406L;

	/**
	 * 主键ID
	 */
	@Id
	@Column("id")
	private Integer  id;

	@Column("cycle_id")
	private Integer cycleId;

	@Column("child_id")
	private Integer childId;

	@Column("project_code")
	private String projectCode;

	@Column("training_times")
	private Integer trainingTimes;

	@Column("trained_times")
	private Integer trainedTimes;

	@Column("priority")
	private Integer priority;

	@Column("is_finished")
	private Integer  isFinished;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Column("create_time")
	private Date createTime;


	@Override
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCycleId() {
		return cycleId;
	}

	public void setCycleId(Integer cycleId) {
		this.cycleId = cycleId;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsFinished() {
		return isFinished;
	}

	public void setIsFinished(Integer isFinished) {
		this.isFinished = isFinished;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getTrainedTimes() {
		return trainedTimes;
	}

	public void setTrainedTimes(Integer trainedTimes) {
		this.trainedTimes = trainedTimes;
	}

	public Integer getTrainingTimes() {
		return trainingTimes;
	}

	public void setTrainingTimes(Integer trainingTimes) {
		this.trainingTimes = trainingTimes;
	}

	public Integer getChildId() {
		return childId;
	}

	public void setChildId(Integer childId) {
		this.childId = childId;
	}
}
